html{
    width:100%;
    height:100%;
}

div{
    box-sizing: border-box;
}
.container{
    width: 100%;
    overflow: hidden;
}
#title{
    font-family: 楷体;
    width: 100%;
    font-size: 30px;
    text-align: center;
    color: rgb(68, 123, 103);
    padding: 10px;
    margin-top: 30px;
}
.back {
    position: fixed;
    right: 30px;
    top: 20px;
    padding: 10px;
    background-color: rgb(166, 234, 185);
    border-radius: 10%;
    color: rgb(68, 123, 103);
    border: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.1s ease;
    font-size: 1rem;
}

.back:hover{
    color: #ddd;
    background-color: #4CAF50;
    /* 或者对于注册按钮: #1e88e5（稍暗的蓝色） */
    transform: scale(1.05); /* 稍微放大按钮 */

}

#left-menu{
    position: fixed;
    left: 0px;
    top: 300px;
    color: white;
}

.red,.west,.water,.three{
    width: 100px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: rgb(166, 234, 185);
    color: rgb(68, 123, 103);
    font-weight: bold;
   transition: all .3s;
    font-size: 1rem;
    margin: 10px;
}
.red:hover,.west:hover,.water:hover,.three:hover{
    color: #ddd;
    cursor: pointer;
    background-color: #4CAF50;/* 或者对于注册按钮: #1e88e5（稍暗的蓝色） */
    transform: scale(1.05); /* 稍微放大按钮 */
}
.intro {
    position: fixed;
    top: 300px;
    left: 100px;
    width: 670px;
    height: 204px;
    color: rgb(68, 123, 103);
    background-color: rgb(166, 234, 185);
    font-family: 楷体;
}

.intro img {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 200px;
    width: 150px;
}

.intro div {
    position: absolute;
    bottom: 0px;
    right: 0px;
    height: 100px;
    width: 500px;
    font-size: 15px;
}

.bookname {
    font-size: 30px;
    font-family: 楷体;
    font-weight: bold;
    position: absolute;
    left: 350px;
    top: 20px;
}

.author {
    font-size: 12px;
    position: absolute;
    left: 360px;
    top: 60px;
}
.content{
    color:#555;
    width: 50%;
    margin: 30px auto;
    margin-bottom: 20px;
    line-height:31px;
    padding:15px;
    white-space: pre-line;
    text-indent: 2em;
}

.button{
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
}


.button{
    background-color: rgb(166, 234, 185);;
    color: rgb(68, 123, 103);;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.1s ease;
    font-size: 1rem;
}
.button:hover{
    color: #ddd;
    background-color: #4CAF50;
    /* 或者对于注册按钮: #1e88e5（稍暗的蓝色） */
    transform: scale(1.05); /* 稍微放大按钮 */
}
#night-button div{
    position: absolute;
    top: 5px;
    left: 15px;
}
#day-button div{
    position: absolute;
    top: 4px;
    left: 12px;
}
.button p{
    position: absolute;
    bottom: 5px;
    left: 8px;
}

.button:hover{
    cursor: pointer;
}
.icon-day {
    width: 19px;
    height: 18px;
    background: url(../img/day.png);
    background-size: contain;
}
.icon-night {
    width: 16px;
    height: 16px;
    background: url(../img/night.png);
    background-size: contain;
}
.artical-action-mid{
    position:fixed;
    width:100%;
    height:100%;
    top:30%;
}

#last_chapter, #next_chapter, #cata_button{
    position: fixed;
    right: 0px;
    height: 30px;
    width: 100px;
    background-color: rgb(166, 234, 185);
    border-radius: 15px 0 0 15px;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    color: rgb(68, 123, 103);
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.1s ease;
}
#last_chapter{
    top: 300px;
}
#cata_button{
    top: 340px;
    width: 70px;
}
#next_chapter{
    top: 380px;
}
#last_chapter:hover, #next_chapter:hover{
    color: #ddd;
    background-color: #4CAF50;
    cursor: pointer;
    transform: scale(1.05); /* 稍微放大按钮 */
    width: 120px;
}
#cata_button:hover{
    color: #ddd;
    background-color: #4CAF50;
    cursor: pointer;
    transform: scale(1.05); /* 稍微放大按钮 */
    width: 90px;
}
#catalog{
    overflow: scroll;
    overflow-x: hidden;
    position: fixed;
    width: 400px;
    top: 0px;
    bottom: 0px;
    left: -400px;
    background-color:rgb(202, 241, 212);
    border-right: 20px solid rgb(202, 241, 212);
    border-top: 20px solid rgb(202, 241, 212);
    color: black;
}

.cho_cata{
    float: left;
    width: 25%;
    height: 50px;
    background-color:  rgb(166, 234, 185);
    color:  rgb(68, 123, 103);
    border-radius:  0 0 25px 25px;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    /* transition: background-color 0.3s ease, transform 0.1s ease; */
    transition: all .3s;
    font-size: 1rem;
}

#catalog ul{
    position: absolute;
    top: 70px;
    padding-left: 10px;
}

#catalog ul li{
    border-bottom: 1px solid #b1ab9d;
    font-size: 15px;
    right: 300px;
    color: rgb(68, 123, 103);
    font-family: 宋体;  
    margin-bottom: 4px;
}
#catalog ul li:hover{
    color: red;
    cursor: pointer;
}